@layout("/common/_form.html",{js:["/assets/common/js/updateSformItem.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">

        <div class="layui-card">
            <div class="layui-card-header">日程信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">

                    <input name="sframeId"  id="sframeId" type="text" value='${sframeId}' hidden/>
                    <input name="sformId"  id="sformId" type="text" value='${scheduleFormItem.sformId}' hidden/>
                    <input name="sformItemId"  id="sformItemId" type="text" value='${sformItemId}' hidden/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">日程日期</label>
                        <div class="layui-input-block">
                            <input  name="sformItemDate"  type="text" value="${sformItemDate}" class="layui-input date-icon datatime" disabled autocomplete="off"/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">日程名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="sformItemName" placeholder="请输入您的日程名称" type="text" value="${scheduleFormItem.sformItemName}" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">地点<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="location" placeholder="请输入日程的地点" type="text" value="${scheduleFormItem.location}" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input name="comment" placeholder="请输入日程的备注信息" value="${scheduleFormItem.comment}" type="text" class="layui-input"  />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">时间段<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="timeLimit" name="timeLimit" xm-select="sformLimit"  xm-select-radio="" required>
                                <option value="">请选择该日程项的时间段</option>
                            </select>
                        </div>
                    </div>

                </div>
            </div>
        </div>




        <div class="form-group-bottom text-center">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;保存日程项&emsp;</button>
            <button class="layui-btn" id="delSubmit" >&emsp;删除日程项&emsp;</button>
            <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
        </div>
    </div>
</form>

@}
